package com.misty.blog.controller.blogController;

import com.misty.dao.mapper.TypeMapper;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/type")
@PreAuthorize("hasAuthority('type')")
public class TypeController {

    @Resource
    private TypeMapper typeMapper;
}
